/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package connexion;

import java.sql.DriverManager;
import java.sql.SQLException;

/**
 *
 * @author SA RA
 */
public class connection {
    public java.sql.Connection con;
   public connection() throws ClassNotFoundException, SQLException{
        Class.forName("com.mysql.jdbc.Driver");
      con = (java.sql.Connection) DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/gestion-notes","root","");
    
   }
}
